<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>联系我们</title>
		<link rel="stylesheet" href="../../plugin/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../../css/utils.css" />
		<link rel="stylesheet" type="text/css" href="../../css/index.css" />
		<script src="../../plugin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../plugin/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.contact-us {
				padding-bottom: 30px;
				min-height: 500px;
			}
			
			.contact-us-list-container {
				padding-top: 30px;
				background: #fff;
			}
			
			.page-title {
				font-size: 20px;
			}
			
			.factory-box {
				margin-bottom: 100px;
			}
		</style>
	</head>

	<body>
		<div class="layui-fluid">
			<div class="layui-row header-row">

			</div>
			<div class="contact-us">
				<div class="pageBg">
					<div class="pageBg2">
						<div class="pageBg3">
							<h3>联系我们</h3>
							<p>Contact Us</p>
						</div>
					</div>
				</div>
				<div class="contact-us-list-container limit-width">
					<div class="factory-box">
						<h2 class="page-title" id="factory">工厂地址</h2>
						<div class="contact-us-list">

						</div>
					</div>
					<div class="business-box">
						<h2 class="page-title" id="business">事业部地址</h2>
						<div class="contact-us-list">

						</div>
					</div>
				</div>

			</div>

			<div class="footer-nav">

			</div>

	</body>
	<script src="../../utils/api/index.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../utils/common/index.js" type="text/javascript" charset="utf-8"></script>

</html>
<script type="text/javascript">
	getList('6001', '.factory-box .contact-us-list');
	getList('6003', '.business-box .contact-us-list');

	function getList(workShopType, element) {
		$.get(requestUrl.baseUrl + '/' + requestUrl.apiUrl.companyProfile + workShopType, function(data) {
			if(data.code == 0) {
				var primaryResources = data.companyProfile.primaryResources;
				$(element).html(primaryResources)
			}
		})
	}
</script>